﻿#ifndef UI_MAINFRAME_H
#define UI_MAINFRAME_H

#include <QtCore/QVariant>

#include "shadow_widget.h"

class QVBoxLayout;
class QHBoxLayout;
class QStackedWidget;
class ImagePushButton;
class QToolButton;
class BigToolButton;
class QButtonGroup;

QT_BEGIN_NAMESPACE

class Ui_MainFrame : public QObject
{
    Q_OBJECT

public:

    enum PAGE_NAME
    {
        PAGE_MY_NETDISK = 0,
        PAGE_SHARE,
        PAGE_HIDDEN_SPACE,
        PAGE_TOOLBOX,
        PAGE_TRANSMIT_LIST
    };

    QVBoxLayout *m_layout_root;
    QStackedWidget *m_page_container;

    ImagePushButton *m_sysbtn_close;
    ImagePushButton *m_sysbtn_max;
    ImagePushButton *m_sysbtn_min;
    ImagePushButton *m_sysbtn_restore;
    ImagePushButton *m_sysbtn_menu;

    QButtonGroup *m_bigToolButtons;
    BigToolButton *m_my_netdisk;
    BigToolButton *m_share;
    BigToolButton *m_hidden_sapce;
    BigToolButton *m_toolbox;

    QToolButton *m_btn_transmit_list;

public:

    Ui_MainFrame(QObject *parent = Q_NULLPTR);
    void setupUi(ShadowWidget *widget);
};


namespace Ui
{
    class MainFrame : public Ui_MainFrame
    {
    public:
        MainFrame(QObject *parent = Q_NULLPTR) : Ui_MainFrame(parent)
        {
        }
    };
}

QT_END_NAMESPACE

#endif // UI_MAINFRAME_H
